<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<style type="text/css">

</style>	
</head>
<body>


</body>
<script type="text/javascript">
function test(a,callback) { 
    console.log(a)
    callback(222)
}
test(11,function (b) {  
    console.log(b)
})
</script>
</html>